import { defHttp } from '@/utils/http/axios';
import { BasicFetchResult } from '../model/baseModel';

enum Api {
  RedisApi = '/redis',
}
/**
 * 查询redis环境
 * @author frank
 * @date 2022-09-01 10:42:20
 */
export const getRedisInfo = () =>
  defHttp.get<BasicFetchResult<any>>({ url: Api.RedisApi + '/info' });
